package com.quanyan.orderpay.vo.request;

import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.Pattern;

/**
 * Created by Zheng.Ke
 * Date 2017/3/6.
 */
public class ChinaumsOrderQueryReqVo {
    /** 合作伙伴代码 */
    @Pattern(regexp = "CHINAUMS", message = "无此合作伙伴")
    private String partnerCode;
    /** 百灵鸟订单号 */
    @NotBlank(message = "百灵鸟订单号不能为空")
    private String orderNo;
    /** 随机字符串 */
    @Length(min = 32, max = 32, message = "随机字符串必须是32位")
    @NotBlank
    private String nonceStr;
    /** 签名 */
    @NotBlank
    private String sign;

    public String getPartnerCode() {
        return partnerCode;
    }

    public void setPartnerCode(String partnerCode) {
        this.partnerCode = partnerCode;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getNonceStr() {
        return nonceStr;
    }

    public void setNonceStr(String nonceStr) {
        this.nonceStr = nonceStr;
    }

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }
}
